from selenium.webdriver.common.by import By

from Base import Base


class Page(Base):
    sou_suo_loc = (By.ID, 'kw')

    def sou_suo(self, txt):
        self.send_keys(self.sou_suo_loc, txt)

    sou_btn_loc = (By.ID, 'su')

    def sou_btn(self):
        self.click(self.sou_btn_loc)

